package com.TPsoft.cafe_server;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.LinearLayout.LayoutParams;

import com.TPsoft.cafe_server.GroupProfileList.GroupProfileListAdapter;
import com.TPsoft.cafe_server.GroupProfileList.GroupProfileListView;

/**
 * The Group Profile Activity.
 * 
 * @since 2011/03/26 22:15
 * @author Thomas Hyun Park
 * @version 1.0
 */

public class GroupProfileActivity extends Activity {

final static String TAG = GroupProfileActivity.class.getSimpleName();

private ListView.LayoutParams params;
private GroupProfileListView groupProfileList;
private GroupProfileListAdapter groupProfileListAdapter;


	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState);
	    setContentView(R.layout.group_profile_layout);
	    
        groupProfileList = new GroupProfileListView(this);        
        
        groupProfileListAdapter = new GroupProfileListAdapter(this);
        params = new ListView.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT);

        final LinearLayout groupProfileListLayout = (LinearLayout)findViewById(R.id.ListLayout);

        groupProfileListLayout.addView(groupProfileList, params);  
	    
        fillGroupProfileList();
	}

	private void fillGroupProfileList()
	{
		
	}
}
